package com.orange.wwwapi.client;

import com.dtflys.forest.annotation.BaseRequest;
import com.dtflys.forest.annotation.JSONBody;
import com.dtflys.forest.annotation.Post;
import com.orange.wwwapi.pojo.req.carpark.songjiang.CarNoCouponReq;
import com.orange.wwwapi.pojo.req.carpark.songjiang.CarNoOrderFeeReq;
import com.orange.wwwapi.pojo.req.carpark.songjiang.CouponSolutionReq;
import com.orange.wwwapi.pojo.rsp.carpark.songjiang.CarNoCouponRsp;
import com.orange.wwwapi.pojo.rsp.carpark.songjiang.CarNoOrderFeeRsp;
import com.orange.wwwapi.pojo.rsp.carpark.songjiang.CouponSolutionRsp;

@BaseRequest(baseURL = "http://openapi.ymiot.net/Api")
public interface YmiotCarParkClient {

    /**
     * 获取车场商家优惠方案
     */
    @Post("/Inquire/GetCouponSolution")
    CouponSolutionRsp getCouponSolution(@JSONBody CouponSolutionReq req);

    /**
     * 车牌号查询停车订单费用
     */
    @Post("/Inquire/GetCarNoOrderFee")
    CarNoOrderFeeRsp getCarNoOrderFee(@JSONBody CarNoOrderFeeReq req);

    /**
     * 车牌优惠
     */
    @Post("Inform/CarNoCoupon")
    CarNoCouponRsp carNoCoupon(@JSONBody CarNoCouponReq req);
}
